package com.ai.cltcore.service.newProj.impl;

import com.ai.frame.bean.InputObject;
import com.ai.frame.bean.OutputObject;
import com.ai.frame.logger.Logger;
import com.ai.frame.logger.LoggerFactory;
import com.ai.cltcore.service.common.impl.BaseServiceImpl;
import com.ai.cltcore.service.newProj.INewProjService;
import com.ai.cltcore.util.Constants;
import com.ai.cltcore.util.DedicException;
import com.ai.cltcore.util.StringUtil;
import org.apache.commons.collections.CollectionUtils;
import org.codehaus.jackson.JsonParseException;
import org.codehaus.jackson.map.JsonMappingException;
import org.codehaus.jackson.map.ObjectMapper;

import java.io.IOException;
import java.text.DateFormat;
import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class NewProjServiceImpl extends BaseServiceImpl implements INewProjService {    
	/**
	 * 
	 * @Title queryPapPactListByProjId
	 * @Description: 大屏项目招投标列表查询 
	 * @param: @param inputObject
	 * @param: @param outputObject
	 * @param: @throws DedicException
	 * @return void
	 * @throws
	 * @author zzx
	 * @Date 2018年8月3日   上午11:33:17
	 */
	public void queryPapPactListByProjId(InputObject inputObject, OutputObject outputObject) throws DedicException{
		Map<String,String> params = inputObject.getParams();
		getBaseDao().queryForList("test.saveDemo", params);
        /*List<Map<String,String>> list = getBaseDao().queryForList("newProj.queryPapPactListByProjId", params);
        int count = getBaseDao().getTotalCount("newProj.queryPapPactListByProjIdCount", params);
        Map<String,String> map = new HashMap<>();
        map.put("total",Integer.toString(count));
        outputObject.setBean(map);
        outputObject.setBeans(list);*/
	}
}
